Added a sample users api ( see modules/users.php ), cleaned up a bit the existing methods ( errors may still appear )
Updated tests/users.php a bit. Aside from the table-checking stuff, it adds a user and deletes it. Don't reg using the name "alp" :P

Signed-off-by: Gálffy Tamás <ezittgtx@gmail.com>