Seriously, use the project versions as constraints

(Note: the deleted commented out code would have been erroring had it
been enabled!)
camelcase api.versionsFrom and api.addFiles

Leave around api.add_files so as to not break literally every
package. Leave our own uses of it alone until after merging to devel, so
that merging package.js files isn't a nightmare.