revamped records caching + ui improvements + minor

revamped RecordsCollection caching mechanism
hide records progress bar when loading is completed
show progress percentages
added deployment code to the build script
fixed deployment script