Adjust the build rest api endpoint to call
Bug fixes

- The PUT call to bz_bugs in _bz_bug_link_js was not working since the parameter
  'action' did not have the value in quotes.
- The parameter key 'action' is renamed to 'bz_action' since 'action' seems to
  be a reserved keyword in Rails and its value is 'update' when we do a PUT.
  'update' is the name of the method called inside the bz_bugs_controller when a
  PUT is made
Fix the links in appconfig.yml

- Should be http://mead instead of http:/mead
Continuing work on bz_integration based on new specifications
Progress:

- Now the password is saved into the session
- The javascript somehow does not work. will have to investigate

TODO:

- add regex to know which bug to update
Javascript now works

- Adding some metadata so that the javascript file knows the current bz_action
  and take actions appropriately (do a PUT to change the action to :done).
import package support bz creation (part 1)
Intregration almost complete | Bz upgrade logic needed

- Switching between InProgress and Finished will alter the BZ state too
- If one switches to the Finished state, a comment will be put in the BZ with
  information about it's sources-git-url, brew and mead nvr.
- The javascript script will wait for 5 seconds until it updates (syncs) the bz
  information with what is being displayed
- Upgrade only the BZ that has as summary 'Upgrade'

TODO:
- Complete check of when to upgrade a BZ based on the criterias
The BZs will now update according to the conditions specified in the specs
Merge pull request #13 from thescouser89/bz_integration

Bz integration