PWASUPP-7 initial commit

Please review the code. 

This module can be reused in other projects.
There are still some todo on this code:

* refactor the code, remove duplicates
* add composer and modman
* add flagbit/factfinder as requirement