Make loading lib/tasks possible without Rails

Signed-off-by: Johnneylee Jack Rollins <Johnneylee.Rollins@gmail.com>