Add Moodle database keyword file, sql script, test cases and java test
file