Fix bugs in model code

- Validation error messages cant be translated in model
- Use correct name of the rule 'notEmpty'

Signed-off-by: Prashant Shah <prashah360@gmail.com>
Adds generic component to be used in all controllers

Signed-off-by: Prashant Shah <prashah360@gmail.com>
Use the Tools plugin flashMessage helper

Use a more advance flash message helper in the layout

Signed-off-by: Prashant Shah <prashah360@gmail.com>
Fix incorrect project name in comment headers

Signed-off-by: Prashant Shah <prashah360@gmail.com>
Adds a view for goals controller add action

Signed-off-by: Prashant Shah <prashah360@gmail.com>
Setup default values for database fields when saving a goal

Signed-off-by: Prashant Shah <prashah360@gmail.com>
Load users routes when loading the users plugin

Signed-off-by: Prashant Shah <prashah360@gmail.com>
Add option to setup outgoing email address

Signed-off-by: Prashant Shah <prashah360@gmail.com>
Use string for user_id in goals and category table

The users plugin uses a string for user id

Signed-off-by: Prashant Shah <prashah360@gmail.com>
Load the components and helpers in the main controller

So that it is available to all controllers

Signed-off-by: Prashant Shah <prashah360@gmail.com>
Set the user_id to the logged in user when saving a goal

Signed-off-by: Prashant Shah <prashah360@gmail.com>