orig document is reloaded when storing OWL output types via the owl api. the file name parsing was also fixed..
Merge branch 'HTTPTYPE-test' into 1349-OWL-Output-2

Conflicts:
	PGIP/Server.hs
removed unused imports
generate error message for any non-owl input types (not supported jet for owl-output except manchester syntax)
run checksource..
Merge pull request #1391 from spechub/1349-OWL-Output-2

1349 owl output 2