Fix compiler warnings for VS2010 /W4 in bitstream.c and cabac.c.

- Working towards issue #11.
Fix compiler warnings for VS2010 /W4 in config.c and encmain.c.

- Working towards issue #11.
- Widened datatypes for cfg struct members that take values from atoi to full
  ints so that bounds checking can be done after parsing without overflow.