Added wake lock permission and switch event provider service.
Added Settings activity.
Merge pull request #21 from ericwan78/framework-issue-182

fixes tecla-framework issue 182