Add in attachment state
Block publishing on attachments virus scanning
rename assert_raises to assert_raise

assert_raises is an alias of assert_raise.

Will be deprecated in 1.9, and removed in 2.0.
display the number of attachments in the tab