Implemented IOManager.execute_string().

This method is safe to use under both Python 2.7 and Python 3+, as the behavior
of `exec` has changed between these versions.

All uses of the `exec` keyword in `idetools` should be changed to use
`IOManager.execute_string()`.