Merge pull request #389 from bhariharan/unstable

dev/random may not be accessible in some custom ROMs.
Add the ability to read custom connected app prefs set by an org admin