Quantum magnetism in pi-electron molecular systems : doctoral thesis