Fixed missing parse and runtime exceptions

PHP Fatal error:  Class 'Symfony\Component\Yaml\Exception\ParseException' not found in /Users/Pete/sites/owncloud/apps/appframework/3rdparty/Yaml/Parser.php

Adds the ParseException and Runtime exception to show errors properly