Bunch

SQLMethod - criterion empty array avaible
Rest - Now also creates virtual class variable for controller to use in
views
Added files validatemethods and formvalidatemethods