open ID login

initial commit . adapted to PDO. tentavely for 1.0 but needs serious
testing. contributed by 0perat0r