added getCategoriesAction();
changed addgoalAction();
changed addgoal function
added addGoalCategoriesRelation function
new class Category for categories table
added one function getAll() for getting all categories
Merge remote-tracking branch 'origin/dev' into dev