initial re-org
first pass at inserting doc samples
update travis
more error checking
mkdir if dir is missing
[skip ci] readme update
Merge pull request #1 from cloudant-labs/insert-code-samples

Insert code samples