replace firebase schema with security rules
fix typo in main script
add test script declaration
add travis
remove leftover console.log