SConstruct: add build_tests option

Only build the demo and realtouch by default. If you want to build the
test cases, please run `scons build_tests=1`.
server: only activate the window when mouse is pressed down

This fix a bug in realtouch example.