Initial commit
Add: imgFit.js
Fix Bug: image and container width are both 0
Fix: delay setting style of transition
Fix: change transition time from 0.5s to 0.2s
Fix Bug: image height is 0
Fix Bug: firefox has inconsistent width and height
Fix: pre-computed margin-left
Fix Bug: margin-left incorrect reset to margin--left
Fix: set timeout if image.onload is not trigger
Fix: use image.complete to identify image that has already been loaded
Fix Bug: IE8 does not have window.getComputedStyle and document.getElementsByClassName
Fix: use regexp for matching style margin
Fix Bug: transition being overwrittened
Fix: remove settings style image opacity 0