Added structure for per-category points.
Fix UserModel::GivePoints() sql.
Added per/category points option to category admin.
Merge branch 'release/2.1b1' into feature/category-points