fix API routing

Fix API routing and add routing spec.

But I don't touch about https://github.com/fastladder/fastladder/blob/rails-modern/app/controllers/api/item_controller.rb ?  What is this? Who uses this?