Add console/tasks support to loopback framework