Added the functions getDoctrine() and getParameter()

Added functions getDoctrine() and getParameter()
The registry class is not defined, should probably be ```\Doctrine\Common\Persistence\ManagerRegistry```.

Maybe this is already wrong in Actions.php, in that case, sorry for the bad example :)