BBB eqep driver

Hi, I've fixed a bug in the index handling and have added counter-mode as well as a few other par maters.

Regards
  Russell