Added SkinnyApiResource, fixed beforeAction/afterAction priority issue for routing definitions