[#205] More aggressive checking of array keys

- Ensure that 'input_filter_specs' exists in `$config` and that it is an array
  before checking if a key is present in it.
CS fixes (RestServiceModel, indentation)
Merge branch 'hotfix/205'

Close #205