Added new unit test and vastly improved parentheses resolution
Merge branch 'ics' of github.com:Xlythe/android_packages_apps_Calculator into ics

Important change to parentheses resolution-- major fixes