Fixed up apply_cal.py a bit, added some command-line options, and used preferred aipy idioms.
Merge branch 'master' of git@github.com:AaronParsons/aipy into pol-dev