Merge pull request #1067 from opf/fix/safe_wp_grouping

make WorkPackage.count_and_group_by private
Merge pull request #1057 from opf/fixes/angular-update-copyright-headers

Update copyright headers
Embed cast custom value data in WP API response

* Update ng work-package-column-directive to render

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Remove no longer needed methods from ng UserService

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix user custom fields of timelines
Merge pull request #1073 from opf/feature/angular-api-work-package-loading-remove-user-cf-postloading

Feature/angular api work package loading remove user cf postloading
Fix failing AccountController#register spec

With an OpenProject config containing private plugins this spec will
fail with the following Error:

    ActionView::Template::Error: undefined method `allow_password_changes?' for nil:NilClass
    ./app/models/user.rb:377:in `change_password_allowed?'

This failure was most likely previously obscured because
`render_views` was not enabled.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
WIP put project and sub-project filter values in list.
Made project service for (sub)projects. Can use sub-project filter.

There is an existing bug that prevents sub-project filtering working, will look into that now. Also still need to know before hand if there are any sub-projects so we can hide the filter if there are none.
Wried up filtering by project on non-project work packages view.
Removed sub project filter from general wp view.

filtering on sub-projects does in fact work, it's just that it always also includes the parent project so it doesn't become apparent until you have to different sub projects.
adds setting callback specs, also converts old setting tests to specs
implements callbacks for settings
Fix typos, spelling in model comments

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix typos, spelling in mailer comments

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix typos, spelling in helper comments

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix typos, spelling in lib-folder comments

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix typos, spelling in spec descriptions

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix typos in Rake task descriptions, errors

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix typos, spelling in cukes

Signed-off-by: Alex Coles <alex@alexbcoles.com>