AppointmentController#create

Wiring up the backend first.
Fix broken login_as test macro.

Login page's submit button had a button type of 'button' rather than
'submit', which would not work without javascript.  Therefore, when
running an integration test without javascript enabled, the `login_as`
macro would fail to properly submit the login form.
Integration test for new appointment form.

Many things broke.  May need to revisit the design here.