Validate parameters

Supersedes #37.  Allow equations of state to check the params object that is given to them for unusual or invalid parameters.  Implement this for slb, mgd, bm