Add missing close PHP tags
Remove trailing whitespace
Bump version number, changelog
Merge branch 'hotfix/1.0.2'