adding cache control headers for css and js - fixes #11496

@LukasReschke @karlitschek @bantu @butonic THX