updating travis to specify lein 2, adding code examples to locale documentation