Merge pull request #4 from dimagi/save_fluff

save fluff mappings to couch
create unique partial indexes for nullable key columns
Merge branch 'indexes' into view
add nullable to interface