Handle tags in the hotlisthandler.

Fixes the bug that you get notification when you open a private buffer
and weechat adds old lines from the log. These are tagged properly, so
we can filter them out with our newfound ability to read tags
Add Norwegian l10n
Rework interaction between Fragments and Activity

Cleanup in NickListAdapter
Modify WeechatActivity to hold a pointer to the current Fragment being
displayed.  This is then used to get the nicklist, buffer title, etc.
When a fragment is "attached" it updates this pointer in the activity.
Merge remote-tracking branch 'torhve/fragment_wip' into fragment_wip
Fix nicklist showing up on bufferlist

Check for nicks==null when looking at the nicklist.  This happens when
channels/buffers don't have a nicklist(or it is empty).  This fixes a
crash.

Add onActivityCreated in BufferListFragment to call setCurrentFragment
as onAttach wasn't getting called at the right time.
Remove ChatViewActivity

Fixed RelayService to launch the main activity on notifications.
Fixed main activity to accept an argument for a buffer to load; this
supports notifications.
Change dos to unix line endings

Stupid cleanup commit which will hopefully make merging into master a
bit easier.
Remove change that conflicts with master.

Shouldn't even be here anyway(it only exists to make a test case pass)
Fix nick completion

Merge with master to apply the correct nick completion changes.
Reorganize Preferences pane

Part of preparation for merge to master
Remove bufferlist toggle if not tablet

It will only confuse the user at this point.  In the future we may bring
this back depending on how the layout changes.
Fix exception when closing buffer

There is no need to call removeObserver when the buffer is being closed.
That will happen automatically.  This fixes a concurrent modification
exception when a buffer is closed(e.g. user typed /close)
Fix a few crashes

Related to closing a buffer/clicking notification to launch app.
Fix a few force closes

Closing a buffer in weechat with nothing left on the backstack.  Not
sure why the BufferFragment still exists(Presumably should go away when
they navigate back to the bufferlist) Either way this should still apply
to tablets.

Fix crash with BufferListFragment trying to update when not visible.
Perform message sending in a new thread

This prevents any main thread from blocking on send.  Fixes an issue
with the android client and strictmode.
Fix notification icons on ICS

Add new icons for notifications
Use Notification.Builder instead of the old deprecated new
Notification()
Change pendingIntent flags to replace the activity, this prevents
clicking on a the base notification and being returned to a buffer
instead of the buffer list.
Make notifications work when the app is open

If the app is open, and you click a notification, it should take you to
the proper location.  This code handles the intents properly when this
occurs.
Reorganize layout

Now both the tablet and phone have a bufferlistfragment and
bufferfragment available at all times.  On the phone layout these are
simply toggled with hide/show.
Removed the empty textview in chatview_main(it wasn't working right)
Make buffer_fragment a frame instead of a fragment

If the fragment is declared in the xml as it was, then when you
.replace() it in a transaction, and then rotate the device you will
experience a crash. This commit changes it so that the fragment is
dynamically added to the layout.
Also fixed the functionality of the # button on tablets/phones. I wasn't
thinking when I wrote that part.
Add placeholder text if no buffer is loaded

Load a view if there is nothing to display, telling the user to select a
buffer from the list.