Fixed up apply_cal.py a bit, added some command-line options, and used preferred aipy idioms.
Merge branch 'master' of github.com:damoupenn/aipy into dev
ignoring the stupid __branch__.py files. Why are they even in!?