PSR-0 compliance

* Renamed class files
* closed #8
Add basic code for getting form attributes and group #1

Added /forms/:form_id/attributes
Added /forms/:form_id/groups
Reduces code duplication by reusing attribute() and group() fns
DELETE forms/:id - Return JSON and delete related objects #1

Returns an empty array or the form just deleted (if it exists)
Deleting a form will now delete its attributes and groups too.
Add URLs to response objects

Allows us to link from forms to attributes, etc
Add datetime attribute type
Add foreign keys for form_groups and form_attributes
Add GET request for individual attributes and groups

* Add GET /api/forms/:form_id/attributes/:id
* Add GET /api/forms/:form_id/groups/:id
* Fix docblock for GET /api/forms/:form_id/attributes
* Fix docblock for GET /api/forms/:form_id/groups
* Add links from groups to their forms
* Add links from attributes to their form and group
Build out PUT forms/:id
Add PUT/POST/DELETE actions for forms and attributes

* Add POST /api/forms/:form_id/attributes/
* Add POST /api/forms/:form_id/groups/
* Add PUT /api/forms/:form_id/attributes/:id
* Add PUT /api/forms/:form_id/groups/:id
* Add DELETE /api/forms/:form_id/attributes/:id
* Add DELETE /api/forms/:form_id/groups/:id
Add GET/POST actions for /api/forms/:form_id/groups/:id/attributes

These are convenience methods for listing a groups attributes
or adding a new attribute to a group.

Need to think about code reuse on POST action
Add behat test for Form updates

* Add thatIWantToUpdateA() step definition to RestContext()
* Add PUT handling as restObjectMethod
* Add test for Updateing a form
* Also fix teardown() to disable FK checks before truncating tables
Add tests for attributes and groups

* Add behat forms/api.attributes.feature
* Add behat forms/api.groups.feature
* Add featureSetup() as BeforeFeature hook to create a known
  form, group and attribute (all ID 1)
* Clear DB in BeforeSuite hook.
Add validation check for unique attribute key
Add @todos for setting proper HTTP codes on error