Added some code to help when developing.

Notes on what this does is in the header.php file where this change is located. Basicly it looks if you are on localhost and then changes a define variable which is used to tell the links to goto the root of the website. If not on localhost then it will use '/'.