Fixed Wolfram|Alpha bugs.

Did this by giving all operators an appropiate toString method with good
parenthesing. Strings returned by Symja were ambigious to Wolfram|Alpha
in some cases and by building our own query strings we lose this
ambuguity.
Add checks so that wolfram|alpha only queries when it can.
remove unneccecery toString method in MathObjectEmpty
merge MathVariable and MathConstant to MathSymbol
Code formatted and some javadoc updated
Code formatted and some javadoc updated
Removed temporary method from MainActivity

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
Improved the speed of the keyboard layout

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
Improved the layout of the keyboard for better usability

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
Fixed a bug where the keyboard wouldn't be dismissed when cancelling it

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
Merge remote-tracking branch 'glenn/work' into pull
Fixed some issues that arised after the merge

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
Refactored MathSymbol. works a lot simpler now

Supports variables now as well.
Fixed comparison
fixen dat bij factor 1 de factor niet getekend wordt
nu echt gefixt.. ging wat mis
added the brackets to the bounding box of the derivative function

Signed-off-by: bvanr <henkibrij@hotmail.com>
Merge remote-tracking branch 'arian/symbol-constant' into work

Conflicts:
	src/org/teaminfty/math_dragon/view/fragments/FragmentMainScreen.java
	src/org/teaminfty/math_dragon/view/math/MathConstant.java
	src/org/teaminfty/math_dragon/view/math/MathVariable.java

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
MathSymbolEditor now supports the variables in the new MathSymbol
* Also made the names in the code consistent with the new symbol name (instead of "constant")

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>
Merge remote-tracking branch 'arian/wa-fix' into work

Conflicts:
	src/org/teaminfty/math_dragon/MainActivity.java
	src/org/teaminfty/math_dragon/view/math/MathConstant.java
	src/org/teaminfty/math_dragon/view/math/MathObject.java
	src/org/teaminfty/math_dragon/view/math/MathOperationRoot.java
	src/org/teaminfty/math_dragon/view/math/MathVariable.java

* Unnecessary outer parentheses are now removed from the WA query

Signed-off-by: Mark Kamsma <mark@markkamsma.nl>