make xml mappers two-way

push more of the validation and field formatting into the mapper
add .travis.yml
Merge pull request #3 from dimagi/two-way-mapper

Two way mapper