Implemented memcached integration in models.
Improved Groups model.
Added history tables.
Added Apps controller.
+ Other small improvements and Locomotive integration fixes.