Adding a shouldLog method
NPE fix as apparently Logger.getLevel() can return null. Using a better approach instead. Also ensuring that the CW Logging framework is initialised
Amending JavaDoc to reflect the change
Merge pull request #26 from tyndale/log-level-fixes

JS-247 Reduce logging cost.
Adding a shouldLog method