etcdserver: restructure to hopefully simplify

Obviate parseBool helper, define emptyReq locally to parseRequest,
have writeEvent return an error which gets logged