AMBARI-2340. Do not allow localhost for any database hostname entry during ambari-server setup (mahadev)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1491343 13f79535-47bb-0310-9956-ffa450edef68