ScryptParams check moved to common
#26 Wrapping things in an unnamed namespace, using ScryptParams struct
#26 password hash expecting N,r,p parameters instead of maxtime, maxmem and maxmem_frac
#27 Refactoring of scrypt_params
#25 Changed argument order to be consistent