Fix coding standards.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Throwing Exception if an empty activation code is passed when retrieving a user this way. Fixes #157.

Signed-off-by: Ben Corlett <bencorlett@me.com>