Strip leading backslash for doc classes in DocumentManager

Related to: doctrine/doctrine2@0424d870999c9fb0a044a8b5773f250376d2368f

See: #585 and #586