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. 
AsyncTask<String, Void, String> then you have
doInBackground(String[] params)