divecomputer.c as replacement of divecomputer.cpp

Removing the Qt dependencies was necessary for android. Hence, as a replacement,
divecomputer.c was made. This is an initial version and needs thorough testing.

Signed-off-by: Venkatesh Shukla <venkatesh.shukla.eee11@iitbhu.ac.in>