Checks for Unsafe Reflection

Added some checks for Unsafe Reflection vulnerabilities.

http://blog.conviso.com.br/2013/02/exploiting-unsafe-reflection-in.html