Merge pull request #41 from lilfade/butterflyknife

Butterflyknife Updates
More input validation/sanitization functions
Work on group api pages

Fixed some functions in db_functions, secure_functions, started working
on group api pages
Merge pull request #4 from alexweissman/butterflyknife

merge changes for group api