added uniprot id pattern matching to fail-fast on wrong uniprot ids, added retrying netwrok request if id is not available immediately, bubbling-up the error codes in case uniprot servers are down
corrected the fetch url, not writing into cache when cache directory not specified and breaking correctly after fetching the entry xml
changed CompoundNotFoundException into IllegalArgumentException, removed MalFormedUrlException, added RemoteException when failing to fetch the uniprot entry
Fixing test to fail only if CompoundNotFound, otherwise will go to error
Merge pull request #2 from josemduarte/fixToTest

Fixing test to fail only if CompoundNotFound, otherwise will go to error
Merge pull request #200 from parit/uniprotRMI

Improvements in fetching uniprot entry using uniprot accession id
Fixing #202 . Doubles the memory requirement in alignments
Adding test for #202
Better test