Allow styles to not have a trailing semicolon. Fix cannonicalize_html to
remove trailing semicolons from styles.