WIP
Merge branch 'feature/new-am' of github.com:continuuity/weave into feature/new-am
Merge branch 'develop' of github.com:continuuity/weave into feature/new-am
Merge branch 'develop' of github.com:continuuity/weave into feature/new-am
Merge branch 'develop' of github.com:continuuity/weave into feature/new-am
Merge branch 'feature/new-am' of github.com:continuuity/weave into feature/new-am
WIP
Merge branch 'feature/new-am' of github.com:continuuity/weave into feature/new-am
Separate out AMRMClient and NMClient from AppMaster to prepare for Hadoop-2.1 and secure Hadoop. Also fixed some wrong license statement.
Refactor local file transmission. Added test case.
Make Netty uses daemon thread for the bootstrap timer thread. Also fix the netty version.
Completely removed Yarn dependencies in core weave code. Enable multiple profiles build for different hadoop version.
Merge branch 'develop' of github.com:continuuity/weave into feature/multi-yarn-kerberos

Conflicts:
	core/src/main/java/com/continuuity/weave/internal/ServiceMain.java
exclude netty from yarn
Added secure Hadoop support.
- Added setUser back
- Added discount on -Xmx
- Make sure memory requested is multiples of min memory in Hadoop 2.0
Class refactoring.
Fix review comments.
Create tmp file for test using ClassRule
Allow setting extra JVM options.