boardinator.go: Changed base URL from / to /api
boardinator.go: writeError now takes a 3rd parameter 'statusCode int',
so we can (conveniently) return 400s and 404s, not just 500s