Use relative path for all assets in markup
Remove RewriteBase definition as its redundant in most use-cases.
- Introduced get_uri function which retrieves the URL parts from the clean url. This works across all server configurations and also helps build relative URLs support
- Improvised methodology to check if homepage
- Introduced the $base_url variable which holds the base URL of the daux. Can be used in index.php to make URLs relative
Converted all URLs to be truly relative using the $base_url variable to render all URLs.
Fixed URL to work as a relative url.
Merge branch 'master' of github.com:epicwhale/daux.io into epicwhale-master

Conflicts:
	libs/functions.php
Merging fix for relative paths by @epicwhale
Fixes #35
Fixes #29
Fixes #26
Fixes #7