Added error when no job locations are added.
imported the flat style from pd-844
Merge branch 'pd-830' of github.com:DirectEmployers/MyJobs into pd-842

Conflicts:
	templates/postajob/job_form.html
Merge branch 'master' of github.com:DirectEmployers/MyJobs into pd-842
Updated unit tests for locations.
Use hasattr to see if a foreign key exists
PEP 8 [PD-863]
Merge pull request #1071 from DirectEmployers/no-companyprofile

Use hasattr to see if a foreign key exists
Merge pull request #1063 from DirectEmployers/pd-842

[PD-842] Adds a validation error if no location is added
Cleaned up code.
Force expiration task to pick up any unexpired jobs that hshould have been expired rather than just jobs that should expire today [PD-691]
Don't get items for saved searches we're not going to send
Updated email text
Backfill to the last time the search was sent no matter what
Fix wording
Merge pull request #1075 from DirectEmployers/slow-saved-search-sending

Don't get items for saved searches we're not going to send
Fixed sort order on syndication feed
Strings are not booleans
Merge pull request #1077 from DirectEmployers/sort-order

Fixed sort order on syndication feed
Added permissions for posting jobs to their own sites, updated topbar permissions [PD-871]