extend ActionDispatch mapping for mounting the Machine engine
machine_mount now accepts a block, and acts like namespace method
machine_resources in routes file will automatically generate an ActiveRecord-aware controller