cadnano_api : moved all functions outside, so they are also available after having imported the module. get_api() now simply returns a copy of module's globals() with a few objects filtered away (those starting with underscore).
Fixed cadnano_api.a() using now undefined app variable.
Added methods to get an oligo based on a locstring identifier, e.g. 16[224]. This is very useful for locating oligos quickly based on their names.
Fixed util.qtWrapImport: qtWrapImport and chosenQtFramework are updated at the module-level (instead of only within the function). This means that setting chosenQtFramework actually has an effect, and that the original qtWrapImport is only run ONCE when using PyQt4/PySide---as I imagine it was intended.
Cherry-picked updates from pyside_support branch to make the code compatible with python 2.6 in Maya 2012.