Make Function(other_function) consistent with DOLFIN

f = Function(other_function) should copy values from
other_function.
Add a test for the expected result of Function(f)

If f is a Function, the new Function should copy values.