Cart items now can be submitted to database

Implamented cart submit button. Calls JS ajax request
and sends ids of cart products to database.
Minor changes:
changed project php version to 5.5
Changed structure of order table. added a new one,
ordered_products.