updated xcharts version to 0.2
updated xcharts_rails to use Rails 4 or higher
fixed version checking for 4.0 and higher
updating version
guarantee compatiblity with Rails 3.1
Merge pull request #4 from everaldo/rails31

update  to xcharts 0.2