Fix code inspection results discussed in #67  - UrlShortener.java

Changes
-- Remove unused code
-- Fix unchecked call for Android AsyncTask execute() by specifying the generic types
-- Check for NPE

Please review changes and provide any feedback. 
You deleted formatting whitespace before a method. Run Code->Reformat Code