Update to the preproces_params function to remove any keys that have a n...

...il value. Also updated the .rspec and spec helper to add some common settings.

This is a fix for #55