Improved method for checking if URL contains a parameter without the
need for a try catch to incept nulls. 

Uses
http://kodejava.org/how-do-i-check-if-parameter-is-exists-in-servlet-request/