added addOrder route in APIMainBundle; added entities for orders; fixed errors in GalleryController