With the Brexit hammering global equities and currencies, bitcoin has bucked the trend.