fix lossless
rc: write I/i slice in stats file based on whether openGop is enabled or not.
rc: don't read slicetypes from qpfile in 2nd pass.

slicetype has to be taken from the stats file from prev pass.
rc: rename m_bframes to m_leadingBframes
rc: fix bitrate accuracy for vbv in fast presets.
rc: fix bug in predicting B frame bits in vbv
docs: fix a typo
asm: fix dequant_normal
cu-lossless: fix inter hash mistake

The CU needs to be re-encoded if lossless is chosen as the best mode.
search: fix decoder intra crash with --cu-lossless
encoder: re-enable --cu-lossless
Backed out changeset: 35b2d9e774c8

This patch disrupted CBR runs where we were unable to
hit the target bitrate. It is logically correct, but likely
incomplete.
cmake: fix BSD link, only link with librt if it exists (closes #75)
version: detect OpenBSD for version string (closes #76)

Fix from Brad Smith