fix act-1839
Merge pull request #174 from smirzai/act-1082

fix act-1839
Attachment-event test should only be executed when history allows it
Added convenience method to test super class for deploying the one task process
Merge branch 'master' of https://github.com/Activiti/Activiti
Added convenience method to test super class for deploying the one task process (part 2 - forgot other class)
Merge remote-tracking branch 'upstream/master'