Added getBy() and getSlug() methods

Signed-off-by: Adam Engebretson <adam@enge.me>