Add encryption key for template app and sample apps.
Remove extra unused permissions from Manifest files
Merge pull request #287 from bhariharan/sdk_componentization

Fix Manifest permissions and add encryption key implementation.