Code rewrite to OOPs base

Update Bootstrap to v3.2 and skim built-in themes to bare essentials
changed base path when clean_urls is false
Merge pull request #208 from jLukeC/fix/local-dev-clean-urls

fix base path to work locally with clean urls
Merge branch 'refactor'

Conflicts:
	index.php