Added has_many :applications to job class.