Use image from the api in run_instance, if present

When booting an instance, the API layer already fetches the image
from glance and passes it to the compute manager. Right now, that
info is ignored and the compute node has fetches the image metadata
again from glance if booting from an image. This is a problem when
booting from a volume, because most of the properties that the volume
keeps when it has been created from an image won't be considered.

With this patch, the image metadata passed to run_instance from the API
will be used if present instead of asking glance again.

Change-Id: I4680d9d309d7a09f64d52ef0fb105282ace79e5f
Closes-Bug: 1281973
Remove trailing comma from sample JSON

The etc/nova/cells.json sample configuration file contains a trailing
comma on some elements. This is a syntax error, this change corrects the
problem.

Change-Id: I7a8200e8b7704e4377ce597d6beba91b42286469
Closes-bug: #1283718
update deallocate_for_instance to take instance obj

Update the deallocate_for_instance() method of the nova.network rpc API
to take a full instance object instead of just an instance UUID and some
other instance data.  This patch is just the mechanics of getting the
API changed.  The next patch will make use of getting the full instance
object to eliminate a db query in nova-network.

Part of blueprint nova-network-objects

Change-Id: I9be88206ecc64a92d2826a9ac43e4d2d384f29ff
Imported Translations from Transifex

Change-Id: I98a3a6ce4ac9d481381d692b36440deebc6d8ac0
Merge "Use image from the api in run_instance, if present"
Merge "Remove trailing comma from sample JSON"
Merge "Imported Translations from Transifex"
Merge "update deallocate_for_instance to take instance obj"