Add Gemfile. Add AppCode .idea directory. Update to Typhoon 1.6.1. Fix unit test failures.