Communities will get the legal right to fight ugly buildings and poorly designed new homes in their towns and villages in new Government guidance to be published on Monday.