Fixed exception use
Changed embedded application API
Check if comands are supported (bugfix)
Add version commands only if supported
File import: Do not accept irregular files
Merge pull request #128 from phpcr/various

Various