API updates for problems (and editing problems)

- add serializer to problem's detail view
- add some properties in labs to have unified source of data