Extract application permissions from a drools file and into Java code.
Resolve checkstyle violations.
Remove unnecessary comments and obsolete secruity.drl file.
Merge remote-tracking branch 'origin/master' into sec-functions
Remove security.drl file from the Arquillian deployment.
Hold active tasks in a map, but cache finished tasks briefly
Allow lookup of finished tasks; test that onComplete is called
Create a new PermissionGranter class to perform invocations of granter methods.

Also validate that all arguments in a granter method are provided if the granter is to be invoked.
Keep granter methods indexed by the action(s) they apply to.
Make sure granters are only called if necessary.
Merge pull request #484 from zanata/optimize-copytrans

:+1: Verified
Merge pull request #507 from zanata/async-task-manager

Hold active tasks in a map, but cache finished tasks briefly
[maven-release-plugin] prepare release server-3.4.2
[maven-release-plugin] prepare for next development iteration
Formatting changes and code review updates.

Correct some code formatting and tweak some of the security rules that although equivalent to the drools rule, were incorrect in terms of business logic.
Add new and cleanup existing Admin tests

- Covert to assertj
- Clean up existing tests
- Make edit homepage test work
- Add new tests
- Add Feature annotations
- Move chunky repeated text to the test file generator
Make sure csrf tokens match on client and server.
Fix checkstyle violations.
Refactor some exception handling and extract a method.
Merge remote-tracking branch 'origin/integration/master' into sec-functions

Conflicts:
	zanata-war/src/test/java/org/zanata/arquillian/Deployments.java
rbhz1116688 - clear HRoleAssignmentRule table after test
rhbz1113843 - Fix permission evaluation when dealing with multiple targets.