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.
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
rhbz1113843 - Fix permission evaluation when dealing with multiple targets.
Merge pull request #527 from zanata/gwt-token-mismatch

Make sure csrf tokens match on client and server.
Merge remote-tracking branch 'origin/release' into integration/master

Conflicts:
	functional-test/pom.xml
	pom.xml
	zanata-model/pom.xml
	zanata-war/pom.xml
	zanata-war/src/main/java/org/zanata/async/AsynchronousTaskExecutor.java
	zanata-war/src/main/java/org/zanata/async/TaskExecutor.java
	zanata-war/src/main/java/org/zanata/service/impl/AsyncTaskManagerServiceImpl.java
	zanata-war/src/main/resources/messages_en_GB.properties
	zanata-war/src/main/resources/messages_ja.properties
	zanata-war/src/main/resources/messages_uk.properties
	zanata-war/src/main/resources/messages_zh_TW_Hant.properties
	zanata-war/src/main/webapp/WEB-INF/pages.xml
	zanata-war/src/main/webapp/admin/processmanager.xhtml