Fixing build issues and adding a new feature

- Building using ant proved to be impossible, so I aided in changing a few file that fix that, reflected in changelist 5a46c2b. 
- Fixed existing issue #31 as I experienced similar issues
- Currently SignalR client has no way of using GSON deserialisation by type and not by class which is needed to deserialise collections and generics. Refer: https://sites.google.com/site/gson/gson-user-guide#TOC-Serializing-and-Deserializing-Generic-Types and https://sites.google.com/site/gson/gson-user-guide#TOC-Collections-Examples. I have added this feature in and tested it on my end in my own application and it seems to be working okay.