Fixed compilation & project creation

Hi there!

First off: Great work with degate!
While trying it out, I found some small problems: Mainly a compilation error because XMLRPC-C was missing in the CMakeList for gate_lib_documentation and a crash on creation of a new project, you can find the stacktrace below.

Cheers,

Thomas

```
Program received signal SIGSEGV, Segmentation fault.
0xb65a7042 in std::_Rb_tree_increment(std::_Rb_tree_node_base*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#0  0xb65a7042 in std::_Rb_tree_increment(std::_Rb_tree_node_base*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#1  0xb65a709b in std::_Rb_tree_increment(std::_Rb_tree_node_base const*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#2  0x08244997 in std::_Rb_tree_const_iterator<std::pair<degate::ENTITY_COLOR const, unsigned int> >::operator++ (this=0xbfffe02c) at /usr/include/c++/4.6/bits/stl_tree.h:269
#3  0xb6a6208f in boost::foreach_detail_::next<std::map<degate::ENTITY_COLOR, unsigned int, std::less<degate::ENTITY_COLOR>, std::allocator<std::pair<degate::ENTITY_COLOR const, unsigned int> > >, mpl_::bool_<true> > (cur=...) at /usr/include/boost/foreach.hpp:737
#4  0xb6a61522 in degate::ProjectExporter::add_colors (this=0xbfffe220, prj_elem=0x8813a58, prj=...) at /home/troth/code/git/degate/lib/ProjectExporter.cc:251
#5  0xb6a5e0a5 in degate::ProjectExporter::export_data (this=0xbfffe220, filename=..., prj=...) at /home/troth/code/git/degate/lib/ProjectExporter.cc:97
#6  0xb6a5da6f in degate::ProjectExporter::export_all (this=0xbfffe220, project_directory=..., prj=..., enable_oid_rewrite=false, project_file=..., lmodel_file=..., gatelib_file=..., rcbl_file=...) at /home/troth/code/git/degate/lib/ProjectExporter.cc:60
#7  0x08212898 in MainWin::on_menu_project_save (this=0xbffff368) at /home/troth/code/git/degate/gui/MainWin.cc:416
#8  0x08211878 in MainWin::create_new_project (this=0xbffff368, project_dir=...) at /home/troth/code/git/degate/gui/MainWin.cc:281
#9  0x0821153f in MainWin::on_menu_project_new (this=0xbffff368) at /home/troth/code/git/degate/gui/MainWin.cc:254
#10 0x081f67c8 in sigc::bound_mem_functor0<void, MainWin>::operator() (this=0x834f73c) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#11 0x081f621a in sigc::adaptor_functor<sigc::bound_mem_functor0<void, MainWin> >::operator() (this=0x834f738) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#12 0x081f5b92 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, MainWin>, void>::call_it (rep=0x834f720) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#13 0xb75ea103 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () from /usr/lib/libglibmm-2.4.so.1
#14 0xb713ad6c in g_cclosure_marshal_VOID__VOID (closure=0x8378a90, return_value=0x0, n_param_values=1, param_values=0x845ed48, invocation_hint=0xbfffe6e0, marshal_data=0x0) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gmarshal.c:79
#15 0xb711e9f2 in g_closure_invoke (closure=0x8378a90, return_value=0x0, n_param_values=1, param_values=0x845ed48, invocation_hint=0xbfffe6e0) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gclosure.c:767
#16 0xb7131bb3 in signal_emit_unlocked_R (node=0x8376198, detail=0, instance=0x830ba88, emission_return=0x0, instance_and_params=0x845ed48) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:3322
#17 0xb713a3f6 in g_signal_emit_valist (instance=0x830ba88, signal_id=123, detail=0, var_args=0xbfffe89c "\360\211\247\267\360\211\247\267\210\272\060\b\370N7\b]\rg\267\210\272\060\b\270\025\062\b") at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:2983
#18 0xb713a5a2 in g_signal_emit (instance=0x830ba88, signal_id=123, detail=0) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:3040
#19 0xb7670316 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#20 0xb7670d5d in gtk_action_activate () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#21 0xb713ad6c in g_cclosure_marshal_VOID__VOID (closure=0x8374ef8, return_value=0x0, n_param_values=1, param_values=0x845ed18, invocation_hint=0xbfffea50, marshal_data=0xb775bd50) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gmarshal.c:79
#22 0xb711d347 in g_type_class_meta_marshal (closure=0x8374ef8, return_value=0x0, n_param_values=1, param_values=0x845ed18, invocation_hint=0xbfffea50, marshal_data=0x1c0) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gclosure.c:878
#23 0xb711e9f2 in g_closure_invoke (closure=0x8374ef8, return_value=0x0, n_param_values=1, param_values=0x845ed18, invocation_hint=0xbfffea50) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gclosure.c:767
#24 0xb71310fe in signal_emit_unlocked_R (node=0x8374f28, detail=0, instance=0x831d268, emission_return=0x0, instance_and_params=0x845ed18) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:3182
#25 0xb713a3f6 in g_signal_emit_valist (instance=0x831d268, signal_id=115, detail=0, var_args=0xbfffec0c "`ZQ\267\360\211\247\267\330@F\b\300?F\b\247\005v\267h\322\061\bx\321\061\bh\322\061\b\214\335u\267h\322\061\b،2\bhQ7\b i2\b i2\bx\321\061\b\231\004v\267\360\211\247\267hQ7\b") at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:2983
#26 0xb713a5a2 in g_signal_emit (instance=0x831d268, signal_id=115, detail=0) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:3040
#27 0xb78834e5 in gtk_widget_activate () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#28 0xb77605a7 in gtk_menu_shell_activate_item () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#29 0xb77609b1 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#30 0xb7754c9d in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#31 0xb774b8a2 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#32 0xb711d347 in g_type_class_meta_marshal (closure=0x8339e80, return_value=0xbfffeea4, n_param_values=2, param_values=0x87c1850, invocation_hint=0xbfffee90, marshal_data=0xb4) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gclosure.c:878
#33 0xb711e9f2 in g_closure_invoke (closure=0x8339e80, return_value=0xbfffeea4, n_param_values=2, param_values=0x87c1850, invocation_hint=0xbfffee90) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gclosure.c:767
#34 0xb713178d in signal_emit_unlocked_R (node=0x8339f68, detail=0, instance=0x8375168, emission_return=0xbfffefdc, instance_and_params=0x87c1850) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:3290
#35 0xb713a17b in g_signal_emit_valist (instance=0x8375168, signal_id=34, detail=0, var_args=0xbffff050 "|\360\377\277P\366\060\bP\366\060\b\031C\210\267hQ7\b\270r1\b") at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:2993
#36 0xb713a5a2 in g_signal_emit (instance=0x8375168, signal_id=34, detail=0) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./gobject/gsignal.c:3040
#37 0xb7884563 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#38 0xb7749abe in gtk_propagate_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#39 0xb7749e50 in gtk_main_do_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#40 0xb7521d28 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#41 0xb7068252 in g_main_dispatch (context=0x83119d8) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c:2440
#42 g_main_context_dispatch (context=0x83119d8) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c:3013
#43 0xb7068a30 in g_main_context_iterate (context=0x83119d8, block=1, dispatch=1, self=<optimized out>) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c:3091
#44 0xb70690f3 in g_main_loop_run (loop=0x84b9bf8) at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c:3299
#45 0xb7748bef in gtk_main () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#46 0xb7e1d264 in Gtk::Main::run_impl() () from /usr/lib/libgtkmm-2.4.so.1
#47 0xb7e1ddc8 in Gtk::Main::run(Gtk::Window&) () from /usr/lib/libgtkmm-2.4.so.1
#48 0x08186f2e in main (argc=1, argv=0xbffff814) at /home/troth/code/git/degate/gui/main.cc:99
```