Fix zend-library and zend-extra

Presently, the library and extra location rules are incorrectly installing all package files in library/ and extras/library/, respectively, instead of placing them in the correct named directories.
Merge pull request #78 from TheFrozenFire/patch-1

Fix zend-library and zend-extra
Fix zend test
Prefix CodeIgniter paths with "application". Closes GH-80.
Fixed SilverStripe detection on non-numeric versions

This broke the Travis builds for forks, since the 'version'
in this case is the branch name, which can't be compared
with version_compare. This lead to the core folder always
being renamed to 'sapphire' (instead of leaving it with
the newer naming of 'framework'). This meant that the test
execution failed because the bootstrap path was unexpected.