Add bit operations. Change compiling flags a bit.
Merge branch 'master' of https://github.com/xunzheng/toolkit

Conflicts:
	test/test.mk