Refactored autoincrement information and fix test for spring package scanning

Instead of checking for isAutoIncrement, use hibernateColumn.getValue()).getIdentifierGeneratorStrategy()