cleaning add|edit-device views

*Add|Edit device* view picks mode specific form (*office_info* or *device_info*) depending on mode.
Also changed:
- seperated 'device part' block in template,
- updated tests,
- skipped unimplemented test,
- fixed url name.