Characteristic classes and Ehresmann connections for Legendrian foliations