Replaced Deprecated/Removed Application Trait With New App Trait

This ensures compatibility with Scala 2.11 and still works with Scala 2.10.