Allow whitespace in installers - fix for issue #2071

Custom installers can have the class definition indented.
Merge pull request #2101 from e1en0r/patch-1

Allow whitespace in installers - fix for issue #2071