Use decorator to disable cache in functions
Move tests to own module
Clean  imports
Move with_cache_disabled decorator to util module
Tests for with_cache_disabled decorator
Refactor:delete unused import and rename test class
Moved tests to api tests
Clean imports and speed tests
Use passed argument
Group functions by kind
Docstring
Extract function from jobs to cached apps
Tests for new function
Merge branch 'master' into jobs-refactor

* master:
  use right absolute path depending on app context for LocalUploader
  Use new theme version.
Small fixes (typos, theme submodule)
Merge branch 'master' into jobs-refactor

* master:
  replace raises with assert_raises
  fix error message
  remove space from comment
  Add tests for relative paths
  fix small typo
  add comment
  Add a test for local uploader standard directory
  Add an empty uploads directory in PyBossa
Update theme
Merge branch 'master' into jobs-refactor

* master:
  Move webhooks tests to model
  Remove unused imports
  Use new theme for webhook.
  Add tests to webhook updated.
  Update the webhook field.
  Add webhook field.
  Tests for webhooks.
  Add new fields
  Refactor.
  Refactor.
  Include fired_at for the trigger.
  Enqueue the webhook post.
  Trigger webhook
  MVP running.
  Configure queues to be used in app.
  Do not import queues.
  Use queue.
  Add webhook column.
  Add webhook column to project.
Merge pull request #946 from PyBossa/jobs-refactor

Jobs refactor