Remove local assignment before return: fixed a bug with inlining array assignments.

RemoveUnnecessaryLocalBeforeReturnRefactoring.java, RemoveUnnecessaryLocalBeforeReturnSample.java:
Handled array variable inlining + added test cases.

ASTHelper.java:
Added Type toType(AST, ITypeBinding) method.