Let line/path support `shape` aesthetic

* Fixes https://plot.ly/~TestBot/718/total-bill-vs-time/

* Add corresponding test (taken from R cookbook)

* Increment version number for this revision (now 0.5.2)

/cc @chriddyp @pedrodz