Updated to use proper property for action

Removed $_GET[‘action’] as this is unset and replaced with RAML
property.
Added an isset() to prevent index warning

Added an isset() to prevent undefined index warning on verbs array