Detect if a task.id has to be loaded Closes #12

This commit detects if a task.id has to be loaded instead of requesting
a new one.
Merge pull request #13 from PyBossa/issue-12-detect-task-id

Detect if a task.id has to be loaded Closes #12