Updated templates with current Gem versions

Updated the app and api templates with the following changes:
- Updated gem versions included in Gemfile to more closely match current projects
- Added and removed gem entries in Gemfile to more closely match current projects
- Added entries to .gitignore file to more closely match current projects