made the clef php-sample more modular and easier to use

- included global config.php file for clef and DB settings
- included import.sql to make spinning up the sample easier
- removed a hard-coded instance of DB_NAME and replaced with variable
- gave mysqli_real_escape_string both parameters it wanted
- added simplier login button to index.php