Research system:
- GET /api/state/research/detail: station status, active tech, research points
- POST /api/action/research_cancel [techId]: cancel specific or all active research
- Improved research queueing with proper prerequisite checks
Building detail/interaction:
- GET /api/state/building_detail?x=&y=: full single-building detail
(health, automation, storage contents, materials, power, recipes)
- POST /api/action/set_building_priority: set priority 1-9 per building
- POST /api/action/set_automation: enable/disable automation input
- Enhanced building list with health/damage info
CLI: research_detail, research_cancel, building_detail,
set_building_priority, set_automation