Fixing chunked object writer and adding unit test
adding support dual writes
adding in test with demo. also adding javadoc
minor changes for dual writes
Merge pull request #538 from opuneet/dual_writes

Adding in support for dual writes