Add loading plugins in console mode (closes #286)

#286