Fix #102: Attachment's validate() is messed up

- removed printed exceptions
- made method abstract in Attachment
- made methods in subclasses protected

Signed-off-by: Victor Boctor <vboctor@microsoft.com>