adds tmpId middleware to listbackend
mediaedit: adds an id so relational works.

For new playlists if we do not set up an _id the relations point
to 'undefined' when saving. So we just put and _id and instruct
the server to generate a 'create' event. This is required because
otherwise when the browsers get an 'update' event they will not add
the new model to the corresponding collection.
move user login to header, render in browser.

Instead of fixing it when rendering layout on the server we just pass it
as a global and do as we please on the browser.
Merge pull request #213 from inaes-tic/move-user-login

move user login to header, render in browser.
MasterView: adds pre and post render signals.

(cherry picked from commit a228f49c792c576a01f68d3f7ca914da80660ed1)
Merge pull request #212 from inaes-tic/pieces-tmpid

Make the reverse relation from piece to playlist work when saving a new playlist.
MediaView: inherit from MasterView, proper cleanup.
make MediaListView inherit from MasterView
whitespaces

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>
Upgrading jquery to 1.9

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>
Jquery 1.9 upgrade: Changing live with on

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>
Merge pull request #216 from inaes-tic/views-cleanup

Views cleanup
Merge pull request #218 from inaes-tic/josx/jquery1.9

Josx/jquery1.9
Removed common libs
Merge pull request #222 from inaes-tic/lvidarte/moving-libs-to-common

Removed common libs
Whitespace

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>
Remove duplicated line

Signed-off-by: José Luis Di Biase <josx@interorganic.com.ar>
router: pass every view an object to store state.
updated backbone.memento
utils: adds StateTracker helper object.