AwesomeAction: Performance update

Use hashmap and switch case, also use containskey() to
bypass switch/case if its a custom app.

oops sorry marc
double oops..

rebase

Change-Id: I90b353df3de035c58e1871b8a3085c82f7d24145