Proof of concept of splitting out SolveObject from Resource.py
Also first cut at Annotation.
minor refactor of resources into the resource module
WIP: start sample
Merge branch 'dev' into feature/annotation

Conflicts:
	solvebio/query.py
Need to try with something test key has access to.
And while we are at it we should also test access denied.
Start splitting out depository. Is this still travis broken
This time, for sure!
Need to try with something test key has access to.
And while we are at it we should also test access denied.
Remove out Depository, DepositoryVersion from resource.py
Split out Depository from DepositoryVersion into separate files.
sample and annotation tests now test for access failure when run from travis.
Forgot to import SolveError. 2nd travis try - this time...
1st cut at Sample file upload, delete. Add test_sample
Warning: does not pass tests. More to come...
Makefile: add clean_pyc (clean depens on) which removes .pyc files
client.py: Correct logic for handling POST with files. Thnx to Dave
Makefile: add lint target to run flake8/pyflakes

rest: start flake8'ng
*sample*.py Finish Sample.delete. Add update tests.
rest: More linting.
test_sample_access.py: break out access tests into separate file. Start using skip if. len(solveobject) -> solveobject.total
Tests work on local Django API server, staging server and public api server.
Lint stuff
Don't have access to get any samples using travis test key
Add user, dataset, datasetfield things. Regularized relative imports. But tests are broken.
fixes to resource imports and fix a circular import