Added cache busting system

Fixed the tests.
Added missing images generation in rake task.