Merged changes from Kolibri

This merge includes following Kolibri revisions:
* 2089 - remove fn 41,42,44,45 (by serge)
* 2090 - update documentation (by serge)
* 2100 - remove unused code (by serge)
* 2112 - shared irq's (by serge)
* 2113 - missing irq.inc (by serge)
* 2118 - move PIC functions into separate file (by serge)
* 2129 - irq: reset fail counter. all kernel: replace old non-blocking mutexes (by serge)
* 2147 - socket.inc: fix for r2129 (by clevermouse)
* 2149 - v86: fix wrong irq number (by serge)
* 2154 - merge kolibri-acpi #2151 (by serge)
* 2157 - taskman: fix error reporting (by serge)
* 2164 - heap: fix memory leakage (by serge)
* 2167 - merge kolibri_acpi #2156 (by serge)
* 2186 - tcp.inc: fix for r2129 (by mario79)
* 2208 - I very much hope that this is the last fix for r.2129. This revision makes me cry. (by mario79)
* 2218 - merge acpi #2217 (by serge)
* 2231 - merge apic code (by serge)
* 2267 - reduce kernel memory usage (by serge) [partial]
* 2341 - blitter prerequisite (by serge)
* 2343 - export free_page (by serge)
* 2356 - export destroy_event and timer_hs (by serge) [partial]
* 2443 - trunk: print cpu count on the debug board (by serge) [partial]
* 2466 - merge acpi (by serge)
* 2473 - fix old and stupid bug in cursor creation code (by serge)
* 2594 - rewritten new_mem_resize (by serge)
* 2595 - new_mem_resize hotfix (by serge)
* 2991 - Infinity: minor update. kernel: increase size of LFB (by serge) [partial]
* 3030 - kernel: export MapPage (by serge)
* 3069 - trunk: always show default cursor for inactive window (by serge)
* 3390 - kernel: wait_event_timeout (by serge)