Added "year" template variable
Tests for "year" template variable now pass
Added phpdoc for $validator