Minor refactoring.
Merged with latest version of Dolphin.
Major refactor of library. Divided into more modules.
Preparatory work for supporting querying of wiimote capabilities.
Further refactoring, a host class has been added to loose static
variables.