Enable model migration using data source JNDI

This patch adds the required verification in the canMigrateModel
method enabling migrations over data source JNDI when possible.