Fixes the findBySlug function

It wasn't returning zero for a failed find. There is a basic test that
needs to be refactored in there too
Adds a script to add results from the command line