Load libraries

improvement to loading libraries at startup
improvement to emagid.php, and new HTML/Form library
Merge pull request #1 from haywars/master

Updates
Multiple changes

Added debugger (Kint)
Added relationships between tables
added more functionality to dropdownlistfor method
added global functions, available without declaring a class
Merge remote-tracking branch 'CJ/master'