Fix StackOverflow exception, getReferences() is returning a reference for him self, added a check for this.
Fix isConstantExpression()
Fix on isIdentical() - Now Resolves to the type decl and also check the for directory
Merge pull request #350 from josehsantos/bug_fixes

Some Bug fixes #349