Entertainment venues in Scotland will receive protection from noise complaints, after the 'agent of change' planning principle was enshrined into Scottish law.