Constraint

This creates a constraint class to handle anything that was not handled in sql. Left comments so please review, if there is anything you see that looks wrong or you want to implement (look at some comments) feel free. Biggest issue is to test this a lot!!! If there is anything wrong please notify me immediately or as mentioned above feel free to implement the change. I have also changed in the database all minits into char values instead of text, as it is asking for initial. If there are any questions put them on the line of code.

I hope this covers all remaining issues! If this is accepted we will need to update jar file.