MySQL Master/Slave Master/Master setup?
You might look into MySQL Proxy. Features include:


load balancing
failover
query analysis
query filtering and modification


I haven't run it myself, but it seems to cover what you want.

UPDATE

Apparently the Read/Write splitting is a proof of concept and not for production use