use home_url for front page and home. improves compatibility with sites installing WordPress in a separate directory
Merge pull request #407 from niallkennedy/home-url

use home_url for front page and home