Add getters for partition id and partition count in App class
Add tuning documentation and update style
Add metrics reporting initialization
S4-73 remove appsDir concept
S4-97 Add rat task for running Apache RAT on S4 sources
S4-120 ensure application-singleton scopes for more dependencies

- use @Singleton annotations where applicable, in(Scopes.SINGLETON) otherwise (providers)
S4-66 Force application class to be defined when building s4r package
S4-66 Remove generatedS4R option from s4 deploy task, in order to simplify commands
S4-122 Add option for showing debug logs from build system when building S4 packages
S4-116 remove duplicate binding for RemoteEmitters
S4-103 and S4-76 Fix stream ids and remove app ids
S4-117 Simplify bootstrapping
- remove deployment manager: the role of S4Bootstrap is to fetch necessary code
and start the app
- remove Server class: S4Bootstrap loads and start the app
S4-86 Fix metrics config and enable PE timing
- fix matcher for metrics configuration pattern
- enable optional metric for PE processing timing
Merge branch 'S4-86' into dev
Merge branch 'S4-122' into dev
Merge branch 'S4-73' into dev

Conflicts:
	subprojects/s4-tools/src/main/java/org/apache/s4/tools/Deploy.java
	subprojects/s4-tools/src/main/java/org/apache/s4/tools/Package.java
Merge branch 'S4-117' into dev
Set correct ClassLoader for app initialization
Merge branch 'S4-97' into dev
Test for correct classloader during app init