Console labeler adapted for ipython notebook

Active learning through the console labeler (dedupe.consoleLabel) did
not work in ipython notebook mode because it used the standard input
which only works in console mode. Now it checks if it's inside an
ipython notebook, using raw_input when appropriate.