squash merge of kansi/merkle

commit 235782d9f8873edd217aaf539d1926e446efea7e
Author: kansi <kansi13@gmail.com>
Date:   Mon Jul 7 00:49:22 2014 +0530

    Revert "Merge branch 'feature/live_streaming' of https://github.com/skunkwerks/swirl into feature/merkle_tree"

    This reverts commit 5633bef1c1316f59ace8ee6e4759eeb62901f24e, reversing
    changes made to 257740bbc1478cf93b5a47e5cdf5edc782dc4064.

commit 5633bef1c1316f59ace8ee6e4759eeb62901f24e
Merge: 257740b 59c6f72
Author: kansi <kansi13@gmail.com>
Date:   Mon Jul 7 00:42:44 2014 +0530

    Merge branch 'feature/live_streaming' of https://github.com/skunkwerks/swirl into feature/merkle_tree

commit 257740bbc1478cf93b5a47e5cdf5edc782dc4064
Author: kansi <kansi13@gmail.com>
Date:   Mon Jul 7 00:38:28 2014 +0530

    merkle: added function get_data_range and lies_in .

commit 59c6f72954ef6c38a69081d57d44639788f3f99f
Author: kansi <kansi13@gmail.com>
Date:   Mon Jul 7 00:30:58 2014 +0530

    live_stream: adding new records for live stream.

commit 41184718f81eb278fe044f24adcbea989732d3e2
Author: kansi <kansi13@gmail.com>
Date:   Mon Jul 7 00:18:10 2014 +0530

    live_stream: added functions for seeder and leecher.

commit a1c7892eeb86c3e449920f9515d33176c09b24d9
Author: kansi <kansi13@gmail.com>
Date:   Fri Jul 4 19:07:20 2014 +0530

    live_stream: implemented peer_storage module.

commit 12ab0dad56f8dcf90ce7ca93bdf9c5484fb6dcb1
Author: kansi <kansi13@gmail.com>
Date:   Mon Jun 30 15:11:18 2014 +0530

    merkle: removed test from src folder.

commit 82b72a9d40d98044f2a581855d56ed5d8a625ac1
Merge: 48178d3 ee2f3a2
Author: kansi <kansi13@gmail.com>
Date:   Mon Jun 30 15:07:03 2014 +0530

    Merge branch 'feature/merkle_tree' of https://github.com/skunkwerks/swirl into feature/merkle_tree

    y

commit 48178d36053783f1a5715b64da85f2941d3a06ab
Author: kansi <kansi13@gmail.com>
Date:   Thu Jun 26 21:31:27 2014 +0530

    merkle: added new function to get data range.

    removing test file

commit ced33a66e5905c60c451e707b3b72f89e27aa4cd
Author: kansi <kansi13@gmail.com>
Date:   Fri Jun 27 12:12:41 2014 +0530

    live_stream: new funcitons added to handle messages.

commit ee2f3a231db89eccbff2e9ceda54de2c47496f0a
Author: kansi <kansi13@gmail.com>
Date:   Thu Jun 26 21:31:27 2014 +0530

    merkle: added new function to get data range.

commit 3170597153ae7bd08137c29bd9145118d091634e
Author: kansi <kansi13@gmail.com>
Date:   Thu Jun 26 11:23:49 2014 +0530

    live_stream: adding files.

commit 75496c08dba0e72a51964ba494978ec210279876
Author: kansi <kansi13@gmail.com>
Date:   Wed Jun 25 10:37:49 2014 +0530

    merkle: added new funcitons for live streaming.

commit 59ebbe0e3b188b24ca1db808cfc30c6bb7b9cf01
Author: kansi <kansi13@gmail.com>
Date:   Mon Jun 23 20:44:51 2014 +0530

    merkle: code cleanup.

commit 2d05ee7449d1e4f1f4d74ba44fbf3ac55e6564a0
Author: kansi <kansi13@gmail.com>
Date:   Mon Jun 23 18:27:19 2014 +0530

    merkle: improved code according to commments. tested using dialyser

commit 0b0cf77da55a0cf4a3c3539069a1e2c07e9eb99b
Author: kansi <kansi13@gmail.com>
Date:   Thu Jun 19 13:55:56 2014 +0530

    merkle: corrected test case.

commit ca9b0bd2f0b72aa5c2132b6fba6962cfe02df333
Author: kansi <kansi13@gmail.com>
Date:   Thu Jun 19 13:54:51 2014 +0530

    merkle: added functions of live streaming.

commit 819fa1e2c5d7b8b4802b5db151f2733efe28bcd3
Author: kansi <kansi13@gmail.com>
Date:   Wed Jun 11 15:57:06 2014 +0530

    merkle: add functions for Live Streaming.

commit d6b643ff4893be26662fce7f87920d44f3406482
Author: kansi <kansi13@gmail.com>
Date:   Sun Jun 8 23:45:21 2014 +0530

    merkle: added new functions, cleaned up specs

commit aa613e5fbce3d288648971245a1ae6029ff66daf
Author: kansi <kansi13@gmail.com>
Date:   Mon Jun 2 11:24:48 2014 +0530

    merkle: removed tests

commit 694d6a78d9206e326d5f3c6366a33f0a52daf886
Author: kansi <kansi13@gmail.com>
Date:   Mon Jun 2 11:19:47 2014 +0530

    merkle: added comments

commit fa06e6d1de3105b5e5dc98c9ac747582cc1ca2eb
Author: kansi <kansi13@gmail.com>
Date:   Mon Jun 2 01:30:03 2014 +0530

    merkle: changed root_hash, verify_uncle_hash, tree_length, is_complete funs and added get_first

commit 5bfe81a8414196c72cc3a3d9b49575789fc3e5df
Author: kansi <kansi13@gmail.com>
Date:   Tue May 27 17:13:27 2014 +0530

    merkle: added comments and improved specs

commit a8c5139dbb18d62a5cd8ca89f67ac0c4e61b462d
Author: kansi <kansi13@gmail.com>
Date:   Tue May 27 09:58:04 2014 +0530

    merkle: added specs

commit 64f0ccb4955fe8325a3a98ac8d2c1109b6461cd8
Author: kansi <kansi13@gmail.com>
Date:   Sun May 25 22:35:39 2014 +0530

    merkle: adding tests for mtree_core.erl

commit 8585438ba0dc31f6cce2c7f74895ed21f8b8f64e
Author: kansi <kansi13@gmail.com>
Date:   Sat May 24 18:23:42 2014 +0530

    merkle: created mtree_core.erl utility module and added new functions mtree API

commit 1961fd4a545fce88640f8d508401a12a2697bdc6
Author: kansi <kansi13@gmail.com>
Date:   Fri May 23 17:44:25 2014 +0530

    merkle: completed get uncle and peak hashes and verify peak hashes

commit 0e6a253f07752dd92ce0f37351adabed6ec589e8
Author: kansi <kansi13@gmail.com>
Date:   Wed May 21 18:36:43 2014 +0530

    merkle: added new functions

commit 141e39488e0e1e449f86b98f263460826939f276
Author: kansi <kansi13@gmail.com>
Date:   Wed May 21 01:02:52 2014 +0530

    merkle: merkle tree API implementation

commit 745f42c600a0b34170be6d4cf8f3bd33d2609d59
Author: kansi <kansi13@gmail.com>
Date:   Tue May 20 23:01:46 2014 +0530

    test: merkle ets storage testing

commit a2329990a2072b2b63195506da9170fc34acece0
Author: kansi <kansi13@gmail.com>
Date:   Tue May 20 23:00:13 2014 +0530

    merkle: ETS storage implementation