PDI-10764 - Fail on importing from existing ktr file while using oracle db as repository.

The problem is that column type for oracle is CLOB, but the column is used
in where sectio of queries as a normal varchar2 whhich does not work.
So I changed the code creating repository to limit NAMESPACE NAME to 2000
charatcers instead of 2000

What was done:
1) changed the way we init the repository
2) implemented getMaxVARCHARLength() for Oracle and MSSQL
3) changed implementation of corresponding getFieldDefinition methods to
use member getter instead of hardcoded value

What was done later:
1) changed the way we select type length
PDI-10764 - Fail on importing from existing ktr file while using oracle db as repository.

WHat was done
1) changed the way value is selected
Merge pull request #166 from kolinus/PDI-10764

PDI-10764 - Fail on importing from existing ktr file while using oracle db as repository.