Stability and metastability of nematic glasses : doctoral thesis