On a triply-graded generalization of Khovanov homology