PRD-4691: Handle formulas with unbalanced parenthesis in inner formulas.  Added several test cases.
PRD-4691: Check count before indexing.
Merge pull request #261 from pentaho-skarmali/PRD_4691_nested_function

Prd 4691 nested function