Added util function.
Moved member variables up.
Merge branch 'master' of https://github.com/toji/DartGB

Conflicts:
	web/gameboy.dart