Merge branch 'pr1'
Merge branch 'upstream'
Utility function microoptimizations

Cycle with numbers instead of ipairs and other minor tweakings in an
attempt to improve performance. The gain is honestly negligible.
Length functions microoptimizations

The functions present in length.lua are called many times... an attempt
to optimize them was sensible. The gain is negligible on PUC Lua,
though.
Shaper functions microoptimizations

Again, no relevant performance hit...
Merge branch 'pr3'
Merge branch 'upstream' into master
Link shared library to shared library
Merge pull request #25 from ntd/pr4

Fix to shared library linking