adding Cython feature detectors.  Need to refactor a little for nilmtk.