Added jphistory

--HG--
branch : feature
JPHistory completed

--HG--
branch : feature
Added RingBuffer - needed for jphistory!

--HG--
branch : feature
removed next cast - was rather useless

--HG--
branch : feature