delete

hope nothing breaks
Revert "delete"

This reverts commit a4457d583d98f80a2ad3a571fac32a3e4826cdff.
Separated ajax code from php functions for testing
added require line to code
Added TestCases.php

Will be used to test code
changed parameters

parameters take in $db and $_POST
added echo!
First test case

add first dive
added debug mode
fixed debug mode
removed old echoes
Fixed stuff and added more output for debug mode
optimized addDive test

easier to add dives
fixed console log output
add second dive

test
Realization about how sql works

We did not implement rounding factors. So when adding dives, use exact
measurements.