Convert priority string to integer. If not error in foreman/lib/tasks.rb <=> other.