PLT-497 Better handling of null

Fix Javadoc
Use Optional
PLT-512 Extract Messages class from ArgChecker
PLT-512 Extract Messages class from ArgChecker

Fix build failure
Fix from PR
Merge pull request #31 from OpenGamma/topic/PLT-497

PLT-497 Better handling of null