Only extend database when it is actually resolved.
Merge pull request #268 from franzliedke/patch-1

Only extend database when it is actually resolved.
Tweak service provider code style
Move register code to boot
Merge branch 'master' into embedded-models
Allows an _id attribute of another type than string
Allows an _id attribute of another type than string
Refactor _id attribute getter
Fix PHPDoc
Merge pull request #276 from v-six/master

Allows non-string _id
Code style tweak
Fix test for Laravel 4.2.8
Merge branch 'master' into embedded-models
Improve saving embedded models