nitg/ffi: adds the pkgconfig annotation to detect required C compilation flags

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: add tests for the pkgconfig annotation

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg/ffi: adds the annotations c_[copiler|linker]_option

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: intro the method String::file_copy_to

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg: keep a list of source files to copy to the compile_dir

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg: actually copy over files to compile_dir

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg: move adding gc_chooser out of the makefile generation

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg: copy over gc_choser files

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg: use only local files in compilation

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg: divide C compilation into 3 methods in abstract compiler

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitdoc: move Piwik tracker out of html footer

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitdoc: add --shareurl to link external share files

Make it easy for share development

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitdoc: introduce require.js a JS module loader

require.js is an open-source implementation of the
Javascript AMD API.

The Asynchronous Module Definition (AMD) API specifies
a mechanism for defining modules such that the module and
its dependencies can be asynchronously loaded.

This is particularly well suited for the browser environment
where synchronous loading of modules incurs performance.

require.js also includes cache control on client side.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

Conflicts:
	src/nitdoc.nit
nitdoc: load js libs from require.js

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitdoc: make base64 JS module require.js compatible

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitdoc: create js module utils

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitdoc: refactor Nitdoc.UI JS module into ui plugin

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitdoc: refactor Nitdoc.QuickSearch JS module into quicksearch plugin

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitdoc: refactor Nitdoc.GitHub JS module into github/* plugin

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
nitdoc: move folding facilities to its own plugin file

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>