Fix parameter handling

Addresses https://github.com/shaneGirish/bcrypt-nodejs/issues/19 (make
salt rounds optional)
and https://github.com/shaneGirish/bcrypt-nodejs/issues/22 (salt as a
number)