Merged most functions from ComplexUtils into Complex class, added static factory method to Complex. JIRA: MATH-171 Reported and patched by Niall Pemberton