Only change "modified" counter on successful save

The modified counter in the CMS module (the red box in the sidebar)
always changes when saving, even when an error is returned.

This fix will only change the "modified" counter in the CMS module on a
successful change.
Allow
Removing extraneous spaces from this code
More extraneous spaces plus nailed a syntax error
Merge pull request #175 from erJasp/master

Only change "modified" counter on successful save
Merge pull request #180 from Jmeyering/master

Allow converting of r/n to /n when editing files in October backend
Minor