ProgressBar.lua compa with Corona’s Graphics 2.0 

Adjusting ProgressBar.lua in to keep compatibility with Corona’s Graphics 2.0. Function 'setReferencePoint' does not exist in Corona’s Graphics 2.0 and removing the line makes the front bar to grow from the center to the sides. Therefore the front bar has to be relocated depending on its width.