On-Chip Microwave Fock States and Quantum Homodyne Measurements