Added network:true to plugin header
Fixed typos
Fix for potentially invalid foreach
Consistent class formatting
Only check if the .git directory itself is writeable
Updated readme