split CONTRIBUTING.md from README.md
add "Git Flow" link to CONTRIBUTING.md
Clean up acts_as_journalized SaveHooks
acts_as_journalized: Use save! instead of save

This should prevent journals silently not being saved on validations
errors.
JournalManager: Fix attempting to create two journals with same version

Calculate journal version based on existing maximum instead of count.

Up to now, when removing a journal note with another journal entry
existing afterwards, there could be a single journal with version 2,
resulting in validation errors for the next attempt to add a journal.
Fix WikiController test_update_stale_page_should_not_raise_an_error

The test didn't specify the version it depended on, so its assertion failed.

I have no idea why the second changed assertion ever worked, since the
journal's version should never change. This restores the line as it
was before commit c25bbee177dbb71d983ff78ab528889a6ba4bec5.
refactor page-leave-warning on unsaved edits

* removed usage of prototype
* extracted code into separate file
remove usage of link_to_remote_if_authorized
remove usage of prototype in toggle_link
refactor _tabs.html.erb to meet our coding guide
Merge branch 'fix/wp_journal_not_added' into release/3.0
remove prototype usage in tab js logic

also extract the tab handling into a separate file,
which is included in application.js.erb
Add skeleton test for ng WorkPackagesController

Use `$timeout` service with `$timeout.flush()` as a shortcut to build
and resolve promises.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Fix ng WorkPackagesController relative root path handling

Extract projectIdentifier correctly from window.location when the
Rails application is running with a relative root path configured
(this solution is currently sub-optimal, relying on a global variable)

User Story #7089

Signed-off-by: Alex Coles <alex@alexbcoles.com>
WIP - adding padding span to last visible row.

currently not working with level setting.
save current tab state in browser history
removed prototype usage of observeProjectModules()
Level expansion now keeps track of last visible row.
Refactored code into timelines helper.
Added a test class for timeline table helper.