Controller isaction

Convert the $methods property into a hook method that lets people more easily customize with methods are treated as actions.
Fixed in 8e2bfb79863c5168436dbd7fe1365809c8837ad5