Add setup.py script for py2app on OS X.

 * Can now generate an app bundle on OS X using py2app.
 * Add licence text to unit tests.