Fix a couple of lint errors and simplify hostname check
Merge pull request #1 from ttscoff/master

Lint fixes. After this is merged, will commit a fixed version of searchpath_getParam and update the check for specifying an id.