added more APCI functionality

+ added EOI for APIC
+ added global varibale indicating whether the APIC has been enabled
+ added asserts to make sure that the APIC has been enabled before using it