fix for triple quote strings

This was basically ripped word for word from the built in python package as it handles triple quote strings very well, some changes needed to be regexp needed to be made but that was it.

example from your option parser:

before
![screen shot 2014-08-13 at 11 56 26 am](https://cloud.githubusercontent.com/assets/1441728/3908314/973424e6-2302-11e4-9a97-d407c46f2815.png)
after
![screen shot 2014-08-13 at 11 56 49 am](https://cloud.githubusercontent.com/assets/1441728/3908315/98654a2a-2302-11e4-899d-7ade4451040b.png)