Combined cryptoJS into a single angular module
Partial port of database.js to use $q promises and module
Referenced new angular cryptojs module