added $.random method which generates string with random chars
increased version to 0.3.1