Some spring cleaning.

- Encapsulated most of bootstrap into a class (Basic_Site) and moved
the method calls to index.php.
- Renamed MySQL_Connection to MySQLi_Connection to reflect its true
state.
- Removed Local class and Smarty plugin
- Added Index_Controller and index/home.tpl so the code could be loaded
without error after being cloned.
- Some sprucing up of the error handling.