Refactor formtools plugin into document and embeddedDocument so that embeddedDocument doesn't includes any additional fields or functions
Changed variable name isSubDocument to isEmbeddedDocument
Merge pull request #62 from smebberson/formtools-refactor

Separated formtools to document and embeddedDocument plugins