Added basic activity PUT rest api method.
Form can now be used for adding and editing activities.