Merge pull request #4 from openpeer/no-glue

stretchPassword to crypto.js in primitives
appid fixes
check if appid is undefined