material: Remove "Item" prefix from most items.

- Conflicting item names have Item added to them as suffix.
bin/mipingd: Remove unused imports. Fix build.
bin/miproxy: Fix build errors.

- Remove unused imports.
- Duplicate `PrefixWriter` definition.