Quotation style second try

As Andrej asked i've reverted #2  in this branch and only applied the regexp to switch commas and periods outside the closing quote. 
I'm new to all this git's wizardry with branching and revert so please make sure i've not made some silly mistakes.