Patient cache tweaks

Cleans up whitespace in the PatientCache file (there were tabs :disappointed:). It then creates an index on medical_record_id. This helps in popHealth when we want to display individual patient pages but there are a lot of patients and measures selected.