Added optional license field to document model (fixes #96)