adding the most recent version of script from https://gist.github.com/haysclark/7732239
renaming script to testflight_post and moving to ${foo} syntax.
Adding first stab at adding shunit2 tests and having Travis-CI handle testing.