YARN build fixes

This PR updates the YARN build docs and fixes the build under Maven with Hadoop 0.23.x