Updates to order deps as per exports file. Expanded scope of deps helper function to cater for any maidsafe_lib.