Removed unused DatabaseConfiguration#getBasePackages() method

Based on https://github.com/jhipster/generator-jhipster/issues/650 I've created a PR