Meta server: fix formatting.
Chunk server: ensure that valid write lease exists when closing chunk on the the write master when chunk token access has write flag set or has write id. Return error in the case if chunk close attempted with no write flag set in chunk access token, or if close attempted on a write slave but chunk access token has no chunk server flag set.
Client lib: set access with close rpc in the chunk write state machine.