Fixing issue with javadoc generation using java 7.
Improved setting of source and target compatibility.
Added locale synchronization info.