Add Vector class

Mimics necessary Dolfin functionality for firedrake-adjoint.
Add Function.vector()