phpDoc fixes

Moving base controls to Controls\Base so that top level controls get grouped together.
Adding ability to have an association table point to a type table, to create many-to-many relationship with constants. This gives database independent functionality similar to the SET  type of MySQL
phpDoc fixes Reverse merge to remove bad commit.
Template code and other fixes.
Adding example to examples page, and fixing some missing template code.
Adding MYSQL code for example.
Merge branch 'ManyManyTypeTables' of https://github.com/spekary/framework into feature-ManyManyTypeTables

Conflicts:
	assets/_core/php/examples/more_codegen/type_tables.php