much of the information given by the apps and sites are bunk, they don't mean jack. frame reach/stack, which was given by the shop measurements, is the real steak (those numbers were 394/552), you weren't given a bike stack/reach and that's a shame.
any other numbers given in those lists don't really mean much other than to just look at them, stack and reach has become a measuring point that many mftrs use to develop sizes.
CAAD10 Ultegra 3 - CAAD10 - ELITE ROAD - ROAD - BIKES - 2015, size 54cm gives you (383/546)
http://www.cervelo.com/media/docs/R2...09bc0b87-0.pdf, size 54cm gives you (378/555)
TCR Advanced Pro 1 (2015) | Giant Bicycles | United States, size 50(m) gives you (386/552)
I quickly took a look at the bikes that are popular here in north America. Based on those numbers, I would guess you are 5'7"-5'10" probably longer in the legs than torso. You say that you are flexible so your stack can be even less than 552, that's fine - spacers and angle of stem can change your BIKE stack (bike stack and frame stack is different, bike stack is the frame stack augmented by spacers, stem, etc.)
I've picked up bikes that have a shorter reach than your 394, but again, this is frame reach, your BIKE reach will change once length of stem, seatpost setback is on.
the 38 wide handlebars is BS, that's not possible. measure your acromial distance, size up to the next available one. Don't size down.
Hope this helps
Ah, I just saw your height in the table, I guess you are 5'8"