Fixes

With these amends I was able to install Invenio (dev) using [these steps](http://invenio-software.org/wiki/Team/AdrianPanescu#pubranchdeveloperinstallation). `inveniomanage demosite populate` is still broken, as `bibupload` seems to not work.