Made new option, linecap, for line series. Closes #2358.