monetdb_repair 'script'.

This program is a tool for diagnosing and repairing issues with MonetDB.
It is built to be mostly independant of other utilies or programs that exist
on the FMC, so that it can be deployed across all versions of FMC with MonetDB.

It will install it's own copy of 'monetdbcheck', or find a newer version on
system.


NOTE: repair here simply means getting the system into working order.
The operations perform on the database do not recover lost data due to
corruption or other problems.


Additional notes:
If REPAIR or REBUILD fails on an FMC before 7.0.0 (6.7.0, 6.6.1, etc);
If that failure is related to the "application_tag_view" or other views
(log will report an error on "DROP VIEW IF EXISTS).
- in this case we need to use the old version of the application yaml script.
which can be found references in the older wiki pages on rebuilding monetdb.

Have seen this happen in testing on FMC 6.6.1.
Similar testing on FMC 6.6.7 and there was no error.
The database versions were updated at some point between those.
