refactor: Phoenix-style three-layer plug architecture (v0.2.0)
Implement three-layer request flow: Endpoint → Router (scopes) → Route
New features:
- Pipeline module for reusable plug collections
- Router.scope for grouping routes with shared plugs
- Route.plug for per-route middleware
- Endpoint.to_handler replaces Endpoint.start (separation of concerns)
API changes:
- Endpoint no longer manages server config (port/bind/tls)
- Server.run now accepts config directly
- Router.compile_scopes for scope-based routing
Includes documentation updates for new API patterns.