fixed 404 errors when wordpress is installed into subdir

replaced site_url() functions to home_url() so the subdir is not added to the url resulting in 404 errors
Merge pull request #12 from sillevl/patch-1

fixed 404 errors when wordpress is installed into subdir