Fix removal of library dependencies
Make _n to be of last result type for non-user defined types

In [1]: List(1, 2, 3)
Out[1]: List(1, 2, 3)

In [2]: %type _1
List[Int]
Generate development console, qtconsole and notebook scripts
Use afterTyper { ... } instead of replaceAll hack