Hashing API

Here is the Hashing API I have written as part of my GSoC project. Also added a  check of policy files for JCE in JCELoader. 
Why catch `Throwable` here and `GeneralSecurityException` above? Catching `Throwable` is bad practice because it is so overly broad.