Fixing query conflict when getting setting within a query
Adding settings to install logic
Adding uninstall logic
Fixing PHP 5.4+ "Creating default object from empty value" errors
Declaring $data just in case the validation fails
Merge pull request #8 from chrisnharvey/2.2/develop

Numerous fixes