Ensuring that the odata4j libraries do not leak streams.
Added common code for handling our new stream closing paradigm and changed the library to use it
Merge pull request #2 from GreatCall-Android/feature/sync_refactor

Ensuring that the odata4j libraries do not leak streams.