Fix scan()/maprequest()/initclient().

scan() only called attach(), which is of course not enough, since
various important steps to correctly adding a client to the WM are
missing (focus, border, event masks, layout update, ...). Now all those
parts are moved out from maprequest() into initclient().

=> fucking ugly, but it works.