Add closing parens to FactoryModuleBuilder javadoc samples

Fixes issue 826.
Only suppress doclint on java8+ profiles

... this didn't fail on Travis because we don't run javadoc there, but apparently it did break javadoc on java7 & below.
Merge pull request #827 from sameb/fix-javadoc-everywhere

Only suppress doclint on java8+ profiles