Database related updates to fix dev and full stack vagrant builds.
Merge pull request #767 from edx/feanil/vagrant_fixes

Database related updates to fix dev and full stack vagrant builds.