Add server-side support for exercise types

Add "body weight" and "always weighted" types for exercises.
Add UI for setting exercise type to weighted or bodyweight

- plus some REST interface changes
- plus some clean up