Apply 2 matt

Fixes saving application, 
add save button, 
cleans up code page, 
fixes redirect,
adds new layout for application without top nav,
adds support for pay_option in application,
removes old confirmations code