optimized regex.
added package validation.
fixed getDocumentDOM double execution.
added transform registration script
Merge branch 'develop'