Changed q_get_datadir to q_getDataDirectory

Changed q_get_datadir name and updated plugins that use that function.