Fixes issue #49
package.json was missing these karma dependencies
Made customer email verification regex match that of the model to address issue #46
Moved around some functions. No changes