I've got a master cylinder waiting to go on, but when I've had them fail before they just 'go' and don't give the same symptoms I'm getting.
I know the car's got EBA (Emergency Brake Assist) which is something to do with the master cylinder, so at a guess I'm wondering if it's something to do with that.