Make rails development dependency
fixed controller name calculation
added support of DAEMONS_ROOT env variable