Some bugs with asset:generate

Bug: ```Undefined index: routing.prefix```
`$config['routing.prefix']` changed to `$config['routing']['prefix']`

Bug: ```An option named "env" already exists.```
Removed the env option, added environment checking.