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. 
style wise keep the spaces:
if (response != null) {
  // avoid NPE
  ...
}