fixed "text" method
add inheritStyle function
add total function
added $.random method which generates string with random chars
increased version to 0.3.1
Merge pull request #19 from tsapeta/0.3.x

merge 0.3.x (0.3.1)