Implemented profile removal API call. Profiles now have an owner field.
Wrote some tests for profile deletion.