ENH: Initial commit of auto-wrapping for nsls2 library
Merge remote-tracking branch 'nsls2/master' into autowrap
MNT: Added escape for '''
MNT: Fixed behavior of docstring(pyobj) function

- Returns a numpydoc.docscrape.FunctionDoc object if pyobj is
  a function

- Returns a numpydoc.docscrape.ClassDoc object if pyobj is
  a class
ENH: Automatic build of input and output ports for VisTrails

- Function added: define_output_ports(docstring)
    Automatically constructs a list of output ports of VisTrails
    OPort objects based on scraped docstring
- Function added: define_input_ports(docstring)
    Automatically constructs a list of output ports of VisTrails
    IPort objects based on scraped docstring.  If parameter
    is optional in the module docstring, the input port will
    also be optional.
- Dictionary added: sig_map
    Maps from one VisTrail port signature to many python/numpy
    types that might be represented in the docstring.
- Function added: get_signature(arg_type)
    Loop over the sig_map to try to map from docstring parameter
    type to a VisTrail port signature.  If there is not a mapping
    an exception will be raised.
DOC: PEP8
ENH: Added logging and error handling/forwarding on imports
ENH: Added dictionary to help format VisTrails enum ports

- More error handling
- PEP8 formatting
- Improved dictionary to help format general VisTrails ports
ENH: First pass at autowrapping nsls2 library functions

- nsls2.core.grid3d
- nsls2.recip.process_to_q
MNT: VT Module docstring is now function source. input_dict works
ENH: init.py file for VisTrails autowrap
MNT: dict_input port versus mandatory ports

Fixed the behavior of the dict_input port such that if some data
is in the mandatory list and is not present but it is provided
by the dictionary on the dict_input port then the module does not
blow up.
MNT: Minor change to test autowrapping
MNT: Renamed wrap_nsls2 to wrap_lib
MNT: Changed API on do_wrap
BUG: Added userpackages importable folder to track down a bug

autowraptest is the folder to try to import into vistrails.
The bug is this: when you import autowraptest, it successfully
creates a module called 'func_wrap_smoke_test' in the
'autowraptest/wraptest' module on the left side of the VisTrails
canvas.  When you add the 'func_wrap_smoke_test' to the canvas,
look at the Inputs in the Module Information on the right
side of the canvas.  Try to expand one of the input ports and a
TypeError is thrown.  Full stack trace will be in issue on
VisTrails gh page.
MNT: Deleted tests folder
ENH: Autowrapping of NSLS2 library modules is functional.
MNT: Fixed comment block
MNT: Committing updates from local system