Plugin and api changes

Stabilized the code all around to handle api function calls and plugins
using the old QLS as a reference. But im not done yet, just need to take
a break. Throwing this commit up now so i dont forget later of what i
did.
site file renamed

due to changes to how plugins are fetched i forgot to change
class.site.php to just site.php, this should make it easier for
developers to make and name plugins.
Merge branch 'master' of github.com:gimli/cms into development