Foliations, orders, representations, L-spaces and graph manifolds