Get latest revision saved by the poller for the selected codebases.
Use the the following format in json:

"latestRevisions":{"repository":{"codebase":"..","display_repository":"..","branch":"..","revision":".."}}
Added icon for when the last built build doesn't have the latest sources
Clean up the revision information saved by hgpoller
Checking for short and long versions of revisions on both sides of pending changes

- Updated unit tests to reflect checking for both short and long versions of revisions from either side
Test configuration elements added in katana (project configuration / builders friendly name). Make the project configuration required since katana UI shows builders group by project.
Fixed sorting of the build status column

- Added unit tests for sorting algorithm
If the build is not found in cache, don't return and continue with loading the build and save it in the cach
Merge branch 'staging' into v0.8.9-to-katana2
Check for empty codebase key / branch before appending it to the build_keys
Added artifacts to the past builds tables
Added failure step into previous builds json