Methods for working with external entity
Merge branch 'master' of github.com:idega/org.jboss.jbpm

* 'master' of github.com:idega/org.jboss.jbpm:
  Improvements; using message value for email documents
  XForms to PDFs now can be rendered in "offscreen" mode - without HTTP requests
  Added error message
  Switched methods: firstly trying to get stream from repo and if it fails - via URL