Change default argument behavior for getting an EM with no arguments to manager
Change default argument behavior for getting an EM with no arguments to manager

Allows more options for getting the default EM by looking first for any connections or managers with the name 'default',
then if none exists fallback to head

adrianhardy/orm,kayladnls/orm,ryan-senn/orm,Amrit01/orm,guiwoda/laravel-doctrine-orm,thoresuenert/orm,jee7/orm,vyolla/orm,laravel-doctrine/orm,maxbrokman/orm