add size "bytes" to attachments

also fixes undefined index-warning
code cleanup
don't prefix post types with main type. also use plural names

looks nice!
version 1.3.4