fixes for appframework v2
Merge pull request #11 from 01org/appframework-fix

fixes for appframework v2