lexical to integer cmp, fixes #334
Merge remote-tracking branch 'scopatz/issue334' into release-3.1.0
Version bump for final release