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/branches/branch-1.2.4@1491344 13f79535-47bb-0310-9956-ffa450edef68