Bump version to 1.2
Add permissions to plugin.yml
Fix several formatting, best practice errors