Fixed fatal error when order or payment/shipping was not found
Hide buttons if no payment or shipping is available in order
Re-implemented ##cart_html## and ##cart_text## email tokens
Removed ability to attach order document to email

This will be re-implemented using notifications (see feature branch)
Make gallery configurable in the fronted modules
collection gallery is now configurable in the frontend module
Added a todo for document improvements