extracted needle utility functions
reimplemented and generalized + TESTS!!!!!
pep8 fixes
formating and spelling fixes
removed period
Needle Utility functions for the plugins. Closes #294
Merge branch 'needles' into es