cli: implement Set System Selection Preference
dms: DMS v1.1 supports GetOperatingMode/SetOperatingMode

My Gobi 1K with 2008-era firmware and DMS v1.1 supports these, so
whatever docs said they required DMS 1.2 are wrong.
cli,nas: fix persistence technology preference reporting
docs: always generate docs at dist time

The pregenerated docs will be in the dist tarball, and will even
be installed with 'make install' when building the dist tarball.
cli,nas: use '%u' for printing cell IDs

This patch fixes the following type mismatches in the format string for
printing cell IDs:

qmicli-nas.c:1271:71: error: format specifies type 'unsigned short' but the argument has type 'guint32' (aka 'unsigned int') [-Werror,-Wformat]
                    g_print ("\t\tCell ID: '%" G_GUINT16_FORMAT"'\n", cid);
                                            ~~~                       ^~~
qmicli-nas.c:1391:71: error: format specifies type 'unsigned short' but the argument has type 'guint32' (aka 'unsigned int') [-Werror,-Wformat]
                    g_print ("\t\tCell ID: '%" G_GUINT16_FORMAT"'\n", cid);
                                            ~~~                       ^~~
qmicli-nas.c:1505:71: error: format specifies type 'unsigned short' but the argument has type 'guint32' (aka 'unsigned int') [-Werror,-Wformat]
                    g_print ("\t\tCell ID: '%" G_GUINT16_FORMAT"'\n", cid);
                                            ~~~                       ^~~
qmicli-nas.c:1626:71: error: format specifies type 'unsigned short' but the argument has type 'guint32' (aka 'unsigned int') [-Werror,-Wformat]
                    g_print ("\t\tCell ID: '%" G_GUINT16_FORMAT"'\n", cid);
                                            ~~~                       ^~~

Bug reported on https://code.google.com/p/chromium/issues/detail?id=239736
build: use AM_CPPFLAGS instead of INCLUDES

Fixes recent automake warnings.
build: update NEWS; add minimal README and ChangeLog

Having a README is good, while some package building tools like
to have a ChangeLog, even if it's useless.
gitignore: ignore .pyc files
build: use -Wformat-security
test-utils: fix LE and BE tests

Added independent BE tests with input buffers given in BE. Once the values are
read by libqmi from the buffer, they will be always in host-endian, so we can
safely compare them without further modifications.

https://bugs.freedesktop.org/show_bug.cgi?id=64987
libqmi-glib,utils: fix reading sized uint from Big Endian buffers

When reading a sized Little Endian uint from a buffer, we just need to read
N bytes from the buffer and place them at the beginning of a new 8-byte buffer,
(as if it were a guint64) and finally convert from LE to HE.

But when reading a sized Big Endian uint from a buffer, the N bytes that we read
from the beginning of the buffer need to be placed at the *end* of the new
8-byte buffer before converting from BE to HE.

Sized integers are used to read e.g. 6-byte integers, like part of the 'Device
Time' TLV in the 'DMS Get Time' call.

https://bugs.freedesktop.org/show_bug.cgi?id=65078
qmicli,dms: fix reading new PIN in '--dms-uim-change-pin'

Spotted by Rajiv Mohan <rajiv.mohan@wipro.com>
nas: add Network Time indication
build: update NEWS
release: bump version to 1.4.0
release: bump version to 1.5.0 (development)
libqmi-glib,api: provide version info
build: setup libtool versioning for libqmi-glib

Let it be 0.0.0 for now; we have not updated this in the past versions, but we
should do it from now on.
docs: reorder version symbols
build: fix builds with srcdir != builddir