Move core test cases over and get them to actually work.  Changes: 1) Added a new test-only dependency for apache commons io 2) use assets to find properties file instead of class loader 3) added internet permissions to manifest.
Merge branch 'refs/heads/master' into androidstudio
Prevent exceptions if local-test.properties not found
Handle empty auth in test properties better
Start to port the persona authorizer from iOS + tests
code reformatting
Fix bug which caused tests not to compile (side effect of recent persona auth changes)
Make test slightly more compatible with sync-gateway
test to detect issue #25
fix bug in test to detect issue #25.  test now passes.
Set default port to 4984
change method signature of getAttachmentsDictForSequenceWithContent to take TDContentOptions as parameter
test which puts a large attachment, make sure dictionary has "follows=true" and data is not included.  also modify underlying implementation to behave as expected by test. issue #47
test for multipart reader.   issue #47
parses content type correctly.  issue #47
implement append().  issue #47
tweaks to implementation still under testing.  add test for parsing headers and fix issue with it.  issue #47
passes test with chunk size=1.  issue #47
works with chunk size 1,2,3.   Fails with 4.  issue #47.
copy over changes