refactor(all): use where clauses to specify bounds
fix(candlestick): default line type must be solid

Also refactor to internally use LineType instead of Option<LineType>
refactor(all): use [] syntax instead of as_slice on strings
Merge pull request #6 from japaric/refactor

Refactor