Merge pull request #39 from cbare/master

Entity objects, syn.get and syn.store
fix bug in syn.uploadFile which failed when given a dictionary representing a new entity and added test